<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
{foreach from=$urls item=i}
<url>
	<loc>http://{'host'|config}{$i.loc}</loc>
	<lastmod>{$i.lastmod|@datef:"%Y-%m-%d"}</lastmod>
{if $i.changefreq}
	<changefreq>{$i.changefreq}</changefreq>
{/if}
{if $i.priority}
	<priority>{$i.priority}</priority>
{/if}
</url>
{/foreach}
</urlset>
